Skip to content

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Feb 9, 2024

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

Moved the pluggable discovery client implementation in the pluggable-discovery-protocol-handler/v2 library.
This change provides two benefits:

  • It greatly simplifies the Arduino CLI codebase.
  • The discovery client code can be reused in other projects

What is the current behavior?

No changes.

What is the new behavior?

Does this PR introduce a breaking change, and is titled accordingly?

Other information

@cmaglie cmaglie force-pushed the discovery-client-lib branch from 094d429 to 9087d85 Compare February 9, 2024 11:24
@cmaglie cmaglie self-assigned this Feb 9, 2024
@cmaglie cmaglie added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Feb 9, 2024
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2b2394e) 68.95% compared to head (c5e66f5) 69.39%.
Report is 1 commits behind head on master.

Files Patch % Lines
commands/upload/upload.go 66.66% 0 Missing and 1 partial ⚠️
...ino/discovery/discoverymanager/discoverymanager.go 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2531      +/-   ##
==========================================
+ Coverage   68.95%   69.39%   +0.43%     
==========================================
  Files         204      202       -2     
  Lines       20535    20110     -425     
==========================================
- Hits        14160    13955     -205     
+ Misses       5220     5035     -185     
+ Partials     1155     1120      -35     
Flag Coverage Δ
unit 69.39% <89.47%> (+0.43%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cmaglie cmaglie force-pushed the discovery-client-lib branch from 9087d85 to 4dfb284 Compare February 12, 2024 13:47
@cmaglie cmaglie marked this pull request as ready for review February 12, 2024 16:38
@cmaglie cmaglie requested a review from a team February 12, 2024 16:38
@cmaglie cmaglie merged commit 20b9ba1 into arduino:master Feb 15, 2024
@cmaglie cmaglie deleted the discovery-client-lib branch February 19, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants